package com.luli.model;

import java.io.Serializable;

/**
 * 陆离
 * 2022/11/4 9:38:35
 */
public class PageInfoVo implements Serializable {
    private static final long serialVersionUID = 6923397534000254739L;
    private Integer pageNum=1;
    //默认为10条数据
    private Integer pageSize= 10;
    public Integer getPageNum() {
        return pageNum;
    }


    public void setPageNum(Integer pageNum) {
        if (pageNum == null || pageNum <1)
            pageNum = 1;
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

}